<html>
<head><meta charset="utf-8"><title>quick testing · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html">quick testing</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="199315244"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315244" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315244">(May 31 2020 at 18:08)</a>:</h4>
<p>Hi, I've just started working on fixing a rustc bug, but I'm not sure how I will test if my change worked. Do I have to build the entire stage1 compiler or is there a faster way to do it?</p>



<a name="199315336"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315336" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315336">(May 31 2020 at 18:11)</a>:</h4>
<p><span class="user-mention" data-user-id="307537">@Camelid</span> You have some suggested workflows <a href="https://rustc-dev-guide.rust-lang.org/building/suggested.html">in the rustc-dev-guide</a></p>



<a name="199315393"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315393" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315393">(May 31 2020 at 18:12)</a>:</h4>
<p>So if you run <code>./x.py build -i --stage 1 src/libstd</code>, it will build the compiler from source once</p>



<a name="199315405"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315405" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315405">(May 31 2020 at 18:13)</a>:</h4>
<p>Okay, thanks! By the way, how long does it take the first time? I'm guessing a while</p>



<a name="199315443"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315443" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315443">(May 31 2020 at 18:14)</a>:</h4>
<p>Well that depends on your machine I think?</p>



<a name="199315447"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315447" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315447">(May 31 2020 at 18:14)</a>:</h4>
<p>First time you'll have to compile LLVM as well</p>



<a name="199315478"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315478" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315478">(May 31 2020 at 18:15)</a>:</h4>
<p>Okay, thanks for your help! One more thing: the same page says:</p>
<blockquote>
<p>You can also use --keep-stage 1 when running tests. Something like this:</p>
<ul>
<li>Initial test run: <code>./x.py test -i --stage 1 src/test/ui</code></li>
<li>Subsequent test run: <code>./x.py test -i --stage 1 src/test/ui --keep-stage 1</code></li>
</ul>
</blockquote>



<a name="199315518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315518">(May 31 2020 at 18:16)</a>:</h4>
<p>That's for running the test suite for the compiler</p>



<a name="199315519"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315519" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315519">(May 31 2020 at 18:16)</a>:</h4>
<p>If I run the test without <code>--keep-stage</code>, does that throw away part of my compiler?</p>



<a name="199315532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315532">(May 31 2020 at 18:17)</a>:</h4>
<p>I think <code>--keep-stage</code> will keep the stage0 std, which you have to build a first time</p>



<a name="199315534"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315534" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315534">(May 31 2020 at 18:17)</a>:</h4>
<p>But I might be very wrong <span aria-label="rolling eyes" class="emoji emoji-1f644" role="img" title="rolling eyes">:rolling_eyes:</span></p>



<a name="199315538"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315538" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315538">(May 31 2020 at 18:17)</a>:</h4>
<p>I see, so <code>--keep-stage</code> is preventing the test suite from recompiling std?</p>



<a name="199315586"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315586" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315586">(May 31 2020 at 18:19)</a>:</h4>
<p>I think so</p>



<a name="199315593"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315593" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315593">(May 31 2020 at 18:19)</a>:</h4>
<p>It's going to throw you a warning like "using a potentially outdated libstd"</p>



<a name="199315641"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315641" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315641">(May 31 2020 at 18:20)</a>:</h4>
<p>But if you're not working on the standard library then it doesn't matter</p>



<a name="199315651"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315651" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315651">(May 31 2020 at 18:20)</a>:</h4>
<p>Again, the rustc dev guide has <a href="https://rustc-dev-guide.rust-lang.org/building/how-to-build-and-run.html">some documentation</a> for building the compiler</p>



<a name="199315663"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199315663" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199315663">(May 31 2020 at 18:21)</a>:</h4>
<p>Like for example <em>Creating a rustup toolchain</em> which in my experience was a game changer, being able to invoke my own build of rustc through <code>rustc +stage1</code> is really useful</p>



<a name="199317770"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199317770" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> marmeladema <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199317770">(May 31 2020 at 19:24)</a>:</h4>
<p>I would advise not to build llvm and instead create a <code>config.toml</code> file and the path to your local llvm-config</p>



<a name="199318950"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199318950" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199318950">(May 31 2020 at 19:59)</a>:</h4>
<blockquote>
<p>Note that you need to have the LLVM <code>FileCheck</code> tool installed, which is used for codegen tests.</p>
</blockquote>



<a name="199320518"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199320518" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lcnr <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199320518">(May 31 2020 at 20:44)</a>:</h4>
<blockquote>
<p>I would advise not to build llvm and instead create a config.toml file and the path to your local llvm-config</p>
</blockquote>
<p>I really should have done that earlier <span aria-label="laughter tears" class="emoji emoji-1f602" role="img" title="laughter tears">:laughter_tears:</span> Up to now I had 6 identical LLVM builds</p>



<a name="199330917"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199330917" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199330917">(Jun 01 2020 at 02:08)</a>:</h4>
<p>Yeah, building llvm wastes like 45m on my laptop. <span class="user-mention" data-user-id="307537">@Camelid</span> not sure if you've already built, but it can take a while. I would recommend turning on incremental (in config.toml) and only building stage 1 (unless your change needs stage 2 for some reason, but most people don't need it)</p>



<a name="199330922"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199330922" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199330922">(Jun 01 2020 at 02:08)</a>:</h4>
<p>Also, if you're just checking if your changes compile you can use <code>./x.py check</code> which takes a couple of minutes is the <code>cargo check</code> of the compiler...</p>



<a name="199332274"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199332274" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199332274">(Jun 01 2020 at 02:47)</a>:</h4>
<p>I did already build; building LLVM actually didn't seem to take too long, maybe because I'm on a desktop. Does LLVM have to rebuilt often?</p>



<a name="199332346"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199332346" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199332346">(Jun 01 2020 at 02:49)</a>:</h4>
<p>Thanks for the tip! I'd been running <code>./x.py</code> with <code>-i</code> but I turned on incremental so I don't forget. I'm wondering why it's not on by default?</p>



<a name="199333756"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199333756" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Tshepang Lekhonkhobe <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199333756">(Jun 01 2020 at 03:25)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307537">Camelid</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/quick.20testing/near/199332274">said</a>:</p>
<blockquote>
<p>I did already build; building LLVM actually didn't seem to take too long, maybe because I'm on a desktop. Does LLVM have to rebuilt often?</p>
</blockquote>
<p>it happens rarely (i.e. when llvm parts changed)</p>



<a name="199419456"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199419456" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199419456">(Jun 01 2020 at 20:34)</a>:</h4>
<p><span class="user-mention silent" data-user-id="307537">Camelid</span> <a href="#narrow/stream/182449-t-compiler.2Fhelp/topic/quick.20testing/near/199332346">said</a>:</p>
<blockquote>
<p>Thanks for the tip! I'd been running <code>./x.py</code> with <code>-i</code> but I turned on incremental so I don't forget. I'm wondering why it's not on by default?</p>
</blockquote>
<p>It's a bit buggy to reuse objects when bootstrapping because the ABI may change and there is weirdness with recompiling the std libs, so technically doing so is unsound (I think). But in practice it usually works fine.</p>



<a name="199419530"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199419530" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199419530">(Jun 01 2020 at 20:35)</a>:</h4>
<p>More generally, <code>./x.py</code> seems to be more optimized for producing distributions than for development, which will hopefully change a bit in the future...</p>



<a name="199419571"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199419571" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199419571">(Jun 01 2020 at 20:35)</a>:</h4>
<p>Yeah, the commands to run it are pretty long :)</p>



<a name="199420253"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199420253" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199420253">(Jun 01 2020 at 20:41)</a>:</h4>
<p>I've set up shell aliases for basic commands like</p>
<div class="codehilite"><pre><span></span><code><span class="nb">alias</span> <span class="nv">rb</span><span class="o">=</span><span class="s1">&#39;./x.py build -i --stage 1 src/libstd&#39;</span>
<span class="nb">alias</span> <span class="nv">rt</span><span class="o">=</span><span class="s1">&#39;./x.py test -i --stage 1&#39;</span>
</code></pre></div>


<p>So that I can invoke them much more quickly. And I also never forget the <code>-i</code> this way :D</p>



<a name="199421235"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199421235" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199421235">(Jun 01 2020 at 20:50)</a>:</h4>
<p>Ah, good idea! Although what about <code>--keep-stage 1</code>? That part confuses me: what's the different between between <code>-i</code> and <code>--keep-stage 1</code>?</p>



<a name="199421443"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199421443" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Léo Lanteri Thauvin <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199421443">(Jun 01 2020 at 20:52)</a>:</h4>
<p>IIRC, <code>-i</code> means "use incremental compilation", and <code>--keep-stage</code> means "don't recompile things and just keep what you can keep of the previous stage's artifacts"</p>



<a name="199422246"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199422246" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199422246">(Jun 01 2020 at 20:58)</a>:</h4>
<p>Is that like what mark-i-m said, where <code>-i</code> is sound, but <code>--keep-stage</code> is technically unsound because of ABI etc.?</p>



<a name="199422463"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199422463" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Noah Lev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199422463">(Jun 01 2020 at 20:59)</a>:</h4>
<p>I just added your aliases, except I added <code>--keep-stage 1</code> so that I don't forget and have to wait forever :)</p>



<a name="199446446"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199446446" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199446446">(Jun 02 2020 at 03:09)</a>:</h4>
<p>~I might be mistaken, but I believe it is <code>--keep-stage 0</code> (yeah, the numbering is very weird)~ EDIT: I am mistaken, according to <a href="https://rustc-dev-guide.rust-lang.org/building/suggested.html?highlight=keep-stage#incremental-builds-with---keep-stage">the guide</a>... apparently, I've been doing this wrong for a while :P</p>



<a name="199446485"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/quick%20testing/near/199446485" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mark-i-m <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/quick.20testing.html#199446485">(Jun 02 2020 at 03:10)</a>:</h4>
<p>IIUC, both are unsound but work in practice. <code>-i</code> is the same as setting <code>incremental = true</code> in the <code>config.toml</code></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>